Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 fix(web-extension): beforeunload logic #1330

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

huangkairan
Copy link
Contributor

@huangkairan huangkairan commented Oct 20, 2023

check newEvents before event.preventDefault

see the video, Chrome show the dialog but I didn't record, this is unexpected:

https://drive.google.com/file/d/1sJ316mWbbRGkVfiG6C1EslAahrw3zMyE/view?usp=share_link

check `newEvents` before `event.preventDefault`
@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2023

🦋 Changeset detected

Latest commit: cbf1f88

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@rrweb/web-extension Patch
rrweb Patch
rrweb-snapshot Patch
rrdom Patch
rrdom-nodejs Patch
rrweb-player Patch
@rrweb/types Patch
rrvideo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@huangkairan
Copy link
Contributor Author

@YunFeng0817 麻烦帮忙看下 CI ~ 和我改动的没关联
image

Copy link
Member

@YunFeng0817 YunFeng0817 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@YunFeng0817 YunFeng0817 merged commit 9e65dda into rrweb-io:master Nov 3, 2023
4 of 5 checks passed
jxiwang pushed a commit to amplitude/rrweb that referenced this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants